﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;

namespace BCDto.Trading.Purchase.GoodsPurchaseItem
{
    /// <summary>
    /// 商品采购项
    /// </summary>
    public class GoodsPurchaseItemRequestDto
    {
        /// <summary>
        /// 销售商品规格Id
        /// </summary>		
        [Display(Name = "销售商品规格Id")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public long SaleGoodsNormId { get; set; }
        /// <summary>
        /// 供应商Id
        /// </summary>		
        [Display(Name = "供应商Id")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public int VendorId { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>		
        [Display(Name = "采购数量")]
        [Required(ErrorMessage = "{0} 不应为空")]
        public int PurchaseCount { get; set; }
    }
}

